package com.daqian.chance.example.dynamic.datasource;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
@MapperScan(basePackages = "com.daqian.chance.**.mapper")
public class DynamicDataSourceExampleApplication {

    public static void main(String[] args) {
        SpringApplication.run(DynamicDataSourceExampleApplication.class, args);
    }
}
